Release 10.1A: OpenEdge Development:
Web Services
Releasing an object
When you are finished using any Web service object, except a session-free AppObject, you must invoke the built-in release method to release that object and return its resources for use by other clients:
As with other Open Clients, there is no Progress 4GL involved in implementing the release method on an Open Client object. However, for Web services, the operation is an object method is required by the WSA.
This is a VB.NET declaration for the AppObject release method,
Release_OrderInfo( ):
Although this method takes no parameters, you must remember to send the object ID for the object you are releasing in the SOAP header of the release request message.
These are sample calls to the release methods declared for the sample Web service:
Note: AppServer connections used by session-free methods are usually returned to the Web service connection pool after the SOAP response message for the release method is returned.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |